// void, Obj This
Tower this;
Obj cat;

Sleep(rand(5000) + 15000);
this = This.AsTower;

while(.IsValid){
	cat = EnvReadObj(this, "Build Catapult");
	while(cat.IsValid){
		SwapSelectedObj(this, cat);
		Sleep(rand(1000) + 1000);
	} 
	
	Sleep(rand(1000) + 60000);
}
